package com.freewater.springboot.demo.aop.api.advices.after;

import org.springframework.aop.AfterAdvice;
import org.springframework.lang.Nullable;

import java.lang.reflect.Method;

/**
 * Spring没有定义AfterFinal语义的Advice子接口，所以自定义一个
 */
public interface AfterFinalAdvice extends AfterAdvice {

    void after(@Nullable Object returnValue, Method method, Object[] args, @Nullable Object target);
}
